package com.chat.admin.domain.DTO.ADD;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AddAuthorityDTO {
    @NotBlank(message = "权限名不能为空")
    String name;//名字
    String description;//描述
}
